package com.rx.sample.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class User {

    private int id;
    private String name;
    private Balance balance;
    private Address address;

    public User(int id, String name) {
        this.id = id;
        this.name = name;
    }

}
